<template>
  <viewCard>
    <div class="bar-chart" ref="barChart"></div>
  </viewCard>
</template>

<script>
import 'echarts-gl';
import {option} from "@/charts/barcharts"
export default {
  name: "barChart",
  data() {
    return {}
  },
  mounted() {
    let myChart = this.$echarts.init(this.$refs.barChart);
    option && myChart.setOption(option)
  }
}
</script>

<style scoped>

</style>
